home *** CD-ROM | disk | FTP | other *** search
/ Let's Discover Michigan! / Let's Discover Michigan!.iso / mac / Xtras / vectorshape.txt < prev   
Text File  |  2000-09-20  |  9KB  |  426 lines

  1. -- Director 8 View Description List
  2. -- Copyright 1999 Macromedia, Inc.
  3. -- $Revision: 7 $
  4.  
  5. -- Vector tab of Property Inspector
  6.  
  7. [     #vectorShape: 
  8.     [ 
  9.         #comment: "Vector",
  10.         
  11.         #symbol: #vectorShape,
  12.         
  13.         #picture: [7900, 13],
  14.  
  15.         #helpTopic: 3508,
  16.  
  17.         #propertyDescriptionList:
  18.         [
  19.             #title:
  20.             [
  21.                 #comment: "Stroke Properties",
  22.                 #title: true
  23.             ],
  24.  
  25.             #strokeColor: 
  26.             [
  27.                 #format: #color,
  28.                 #comment: "The color of the shape outline."
  29.             ],
  30.  
  31.             #strokeWidth: 
  32.             [
  33.                 #format: #float,
  34.                 #comment: "The width, in pixels, of the shape outline.",
  35.                 #range: 
  36.                 [
  37.                     #min: 0.0,
  38.                     #max: 12.0,
  39.                     #granularity: .5
  40.                 ]
  41.             ],
  42.  
  43.             #closed: 
  44.             [
  45.                 #format: #boolean,
  46.                 #comment: "When TRUE, a final line segment is drawn between the starting and ending vertices to close the shape. Otherwise, the shape is left open. Open shapes have no fill, regardless of the fillMode property."
  47.             ],
  48.  
  49.             #title:
  50.             [
  51.                 #comment: "Fill Properties",
  52.                 #title: true
  53.             ],
  54.  
  55.             #fillMode:
  56.             [
  57.                 #format: #symbol,
  58.                 #range:
  59.                 [
  60.                     #none,
  61.                     #solid,
  62.                     #gradient
  63.                 ],
  64.                 #comment: "Determines how the shape is filled. A value of #none leaves the shape unfilled. A value of #solid fills the shape with the solid color specified by the fillColor property. A value of #gradient fills the shape with a gradient. This property has no effect if the closed property is false."
  65.             ],
  66.  
  67.             #fillColor: 
  68.             [
  69.                 #format: #color,
  70.                 #comment: "The color used to fill the shape. If the fillMode is #gradient, this color is used as the beginning color of the gradient."
  71.             ],
  72.  
  73.             #endColor:
  74.             [
  75.                 #format: #color,
  76.                 #comment: "The end color used when filling the shape with a gradient."
  77.             ],
  78.  
  79.             #backgroundColor:
  80.             [
  81.                 #format: #color,
  82.                 #comment: "The background color of the shape."
  83.             ],
  84.  
  85.             #gradientType:
  86.             [
  87.                 #format: #symbol,
  88.                 #range:
  89.                 [
  90.                     #radial,
  91.                     #linear
  92.                 ],
  93.                 #comment: "Determines what type of gradient is used to fill the shape, either linear or radial. This property is only relevant if the fillMode is set to #gradient."
  94.             ],
  95.  
  96.             #fillScale:
  97.             [
  98.                 #format: #float,
  99.                 comment: "The percentage of the shape used when filling a gradient. A value of 100 spreads the gradient across the entire shape. Smaller values only spread across a portion of the shape. Larger values spread the gradient across an area larger than the shape being filled."
  100.             ],
  101.  
  102.             #fillDirection:
  103.             [
  104.                 #format: #float,
  105.                 #range:
  106.                 [
  107.                     #min: 0,
  108.                     #max: 360,
  109.                     #granularity: 1
  110.                 ],
  111.                 #comment: "The angle at which a linear gradient renders. A value of zero fills the shape from left to right. Positive angles proceed counterclockwise around the shape. This property has no effect on radial fills."
  112.             ],
  113.  
  114.             #fillOffset:
  115.             [
  116.                 #comment: "An offset to where a gradient begins. A radial fill adds this offset to the center of the shape to determine the center of the gradient. A linear fill adds this offset to the edge of the shape to determine the start of the gradient."
  117.             ],
  118.  
  119.             #fillCycles:
  120.             [
  121.                 #format: #integer,
  122.                 #range:
  123.                 [
  124.                     #min: 1,
  125.                     #max: 7,
  126.                     #granularity: 1
  127.                 ],
  128.                 #comment: "The number of times a gradient cycles from the fill color to the end color."
  129.             ],
  130.  
  131.             #title:
  132.             [
  133.                 #comment: "Display Properties",
  134.                 #title: true
  135.             ],
  136.  
  137.             #scaleMode:
  138.             [
  139.                 #format: #symbol,
  140.                 #range: 
  141.                 [
  142.                     #showAll,
  143.                     #noBorder,
  144.                     #exactFit,
  145.                     #autoSize,
  146.                     #noScale
  147.                 ],
  148.                 #comment: "Determines how the shape is scaled to fit in the sprite bounds. See the Lingo Dictionary for details."
  149.             ],
  150.  
  151.             #scale:
  152.             [
  153.                 #format: #float,
  154.                 #range: 
  155.                 [
  156.                     #min:0,
  157.                     #max:100
  158.                 ],
  159.                 #comment: "A scale factor applied to the sprite when drawing it on Stage."
  160.             ],
  161.  
  162.             #antiAlias:
  163.             [
  164.                 #format: #boolean,
  165.                 #comment: "When TRUE, the shape renders with smooth, anti-aliased edges. Otherwise, it renders faster with jaggier edges."                
  166.             ],
  167.  
  168.             #centerRegPoint:
  169.             [
  170.                 #format: #boolean,
  171.                 #comment: "When TRUE, the registration point of this member is kept at the center of the shape's bounding rectangle, even if the shape changes. When FALSE, the registration point remains at its location relative to the shape's original bounding rectangle unless explicitly set."
  172.             ],
  173.  
  174.             #regPointVertex:
  175.             [
  176.                 #format: #integer,
  177.                 #comment: "If nonzero, the registration point of this member will be kept at the location of the specified vertex. If zero, the setting for centerRegPoint is used for updating the registration point."
  178.             ],
  179.                                             
  180.             #directToStage: 
  181.             [ 
  182.                 #format: #boolean,
  183.                  #comment: "When TRUE, the shape will render directly to the screen. Otherwise, it will render into Director's offscreen buffer first. Direct to Stage members play back with the highest possible performance, but cannot overlap other sprites. Non-Direct to Stage members can layer with other sprites, at the expense of some performance."
  184.             ],
  185.  
  186.             #vertexList:
  187.             [
  188.                 #getprop: false,
  189.                 #comment: "The list of the vertex and control handle locations determining the vector shape cast member."
  190.             ],
  191.  
  192.             #originMode:
  193.             [
  194.                 #format: #symbol,
  195.                 #range: [
  196.                             #center,
  197.                             #topLeft,
  198.                             #point
  199.                         ],
  200.                 #comment: "Determines the origin for the coordinate space of the vector shape. When set to #center, the origin is at the center of the cast member. When set to #topLeft, the origin is at the top left corner of the cast member."
  201.             ]
  202.         ],
  203.  
  204.         #itemDescriptionList:
  205.         [
  206.             #strokeColorPic:
  207.             [
  208.                 #type: #picture,
  209.                 #picture: [7800, 24],
  210.                 #left: 2,
  211.                 #top: 5,
  212.                 #right: 22,
  213.                 #bottom: 5 + 20,
  214.                 #comment: "Stroke Color"
  215.             ],
  216.  
  217.             #strokeColor:
  218.             [
  219.                 #type: color,
  220.                 #property: #strokeColor,
  221.                 #left: 30,
  222.                 #top: 5,
  223.                 #right: 30 + 20,
  224.                 #bottom: 5 + 20
  225.             ],
  226.  
  227.             #strokeColorField:
  228.             [
  229.                 #type: #field,
  230.                 #property: #strokeColor,
  231.                 #left: 30 + 20 + 5,
  232.                 #top: 5,
  233.                 #right: 30+ 20 + 70,
  234.                 #bottom: 5 + 20
  235.             ],
  236.  
  237.             #fillColorPic:
  238.             [
  239.                 #type: #picture,
  240.                 #picture: [7800, 23],
  241.                 #left: 2,
  242.                 #top: 32,
  243.                 #right: 22,
  244.                 #bottom: 32 + 20,
  245.                 #comment: "Fill Color"
  246.             ],
  247.  
  248.             #fillColor:
  249.             [
  250.                 #type: #color,
  251.                 #property: #fillColor,
  252.                 #left: 30,
  253.                 #top: 32,
  254.                 #right: 30 + 20,
  255.                 #bottom: 32 + 20
  256.             ],
  257.  
  258.             #strokeColorField:
  259.             [
  260.                 #type: #field,
  261.                 #property: #fillColor,
  262.                 #left: 30 + 20 + 5,
  263.                 #top: 32,
  264.                 #right: 30+ 20 + 70,
  265.                 #bottom: 32+ 20
  266.             ],
  267.  
  268.             #unfilled:
  269.             [
  270.                 #type: #radioButton,
  271.                 #property: #fillMode,
  272.                 #picture: [7605, 0],
  273.                 #range: #none,
  274.                 #left: 30,
  275.                 #top: 60,
  276.                 #right: 30 + 20,
  277.                 #bottom: 60 + 17,
  278.                 #comment: "No Fill"
  279.             ],
  280.  
  281.             #filled:
  282.             [
  283.                 #type: #radioButton,
  284.                 #property: #fillMode,
  285.                 #picture: [7605, 1],
  286.                 #range: #solid,
  287.                 #left: 49,
  288.                 #top: 60,
  289.                 #right: 49 + 20,
  290.                 #bottom: 60 + 17,
  291.                 #comment: "Solid"
  292.             ],
  293.             
  294.             #gradient:
  295.             [
  296.                 #type: #radioButton,
  297.                 #property: #fillMode,
  298.                 #picture: [7605, 2],
  299.                 #range: #gradient,
  300.                 #left: 67,
  301.                 #top: 60,
  302.                 #right: 67 + 20,
  303.                 #bottom: 60 + 17,
  304.                 #comment: "Gradient"
  305.             ],
  306.  
  307.             #widthLabel:
  308.             [
  309.                 #type: #label,
  310.                 #text: "Stroke Width",
  311.                 #left: 32,
  312.                 #top: 82,
  313.                 #right: 32 + 80,
  314.                 #bottom: 82 + 16
  315.             ],
  316.  
  317.             #strokeWidth:
  318.             [
  319.                 #property: #strokeWidth,
  320.                 #left: 27,
  321.                 #top: 97,
  322.                 #right: 27 + 134,
  323.                 #bottom: 97 + 16
  324.             ],
  325.  
  326.             #closed:
  327.             [
  328.                 #property: #closed,
  329.                 #left: 30,
  330.                 #top: 118,
  331.                 #right: 30 + 16,
  332.                 #bottom: 118+ 16
  333.             ],
  334.  
  335.             #closedLabel:
  336.             [
  337.                 #type: #label,
  338.                 #text: "Closed",
  339.                 #left: 30 + 16 + 3,
  340.                 #top: 118,
  341.                 #right: 30 + 60 + 16 + 3,
  342.                 #bottom: 118 + 18
  343.             ],
  344.  
  345.             #scaleIcon:
  346.             [
  347.                 #type: #picture,
  348.                 #picture: [7800, 5],
  349.                 #left: 2,
  350.                 #top: 150,
  351.                 #right: 22,
  352.                 #bottom: 170,
  353.                 #comment: "Scale Mode"
  354.             ],
  355.  
  356.             #scaleMode: 
  357.             [
  358.                 #property: #scaleMode,
  359.                 #left: 31,
  360.                 #top: 152,
  361.                 #right: 31 + 80,
  362.                 #bottom: 152 + 16,
  363.                 #range:
  364.                 [
  365.                     "Show All",
  366.                     "No Border",
  367.                     "Exact Fit",
  368.                     "Auto-Size",
  369.                     "No Scale"
  370.                 ]
  371.             ],
  372.  
  373.             #percentIcon:
  374.             [
  375.                 #type: #picture,
  376.                 #picture: [7800, 6],
  377.                 #left: 2,
  378.                 #top: 180,
  379.                 #right: 22,
  380.                 #bottom: 180 + 20,
  381.                 #comment: "Percent Scale"
  382.             ],
  383.  
  384.             #scale:
  385.             [
  386.                 #type: #field,
  387.                 #property: #scale,
  388.                 #left: 31,
  389.                 #top: 180,
  390.                 #right: 31 + 56,
  391.                 #bottom: 180 + 20
  392.             ],
  393.  
  394.             #perc:
  395.             [
  396.                 #type: #label,
  397.                 #text: "%",
  398.                 #left: 31 + 56 + 6,
  399.                 #top: 184,
  400.                 #right: 31 + 56 + 16,
  401.                 #bottom: 184 + 16
  402.             ],
  403.  
  404.             #aa:
  405.             [
  406.                 #property: #antiAlias,
  407.                 #left: 31,
  408.                 #top: 208,
  409.                 #right: 31 + 16,
  410.                 #bottom: 208 + 16
  411.             ],
  412.  
  413.             #aaLabel:
  414.             [
  415.                 #type: #label,
  416.                 #text: "Anti-alias",
  417.                 #left: 30 + 16 + 3,
  418.                 #top: 208,
  419.                 #right: 30 + 60 + 16 + 3,
  420.                 #bottom: 208 + 18
  421.             ]
  422.         ]
  423.     ]
  424. ]
  425.  
  426.